﻿#include "weather.h"
#pragma execution_character_set("utf-8")
Weather::Weather(QLabel *_wlabel,QComboBox *_cityComboBox,QComboBox *_areaComboBox,QObject *parent) :
    QObject(parent)
{
    weather_label = _wlabel;
    city_comboBox = _cityComboBox;
    area_comboBox = _areaComboBox;
}

void Weather::showWeather(QString weather)
{
    weather_label->setText(weather);
}
